/* pages/historicalWaybill/historicalWaybill.wxss */
@import "/style/common.wxss";

.historicalWaybill-page {
  .search-box {
    width: 100%;
    padding: 0 20rpx;
    height: 100rpx;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background: #F1F1FF;
    display: flex;
    align-items: center;

    // border: 1px solid red;
    .box {
      flex: 1;
      height: 60rpx;
      display: flex;
      align-items: center;

      &>view {

        &:first-of-type,
        &:last-of-type {
          flex: 1;
          border: 1px solid #999999;
          border-radius: 10rpx;
          height: 60rpx;
          display: flex;
          justify-content: center;
          align-items: center;

          .timeIcon {
            color: #999999;
            margin-left: 10rpx;
          }
        }

        &:nth-of-type(2) {
          width: 60rpx;
          text-align: center;
          color: #999999;
          font-size: 30rpx;
        }
      }
    }

    .line-btn {
      margin-left: 20rpx;
      color: #8A78F5;
      border-color: #8A78F5;
    }
  }

  .list-box {
    width: 100%;
    box-sizing: border-box;
    padding-top: 110rpx;
    padding-bottom: 20rpx;

    .recycle-item {
      width: 100%;
      box-sizing: border-box;
      padding: 0 20rpx;

      .item-box {
        width: 100%;
        background: rgba(241, 241, 255, 1);
        padding: 0 20rpx 20rpx;

        &>view {
          padding: 0 15rpx;
          background: white;
          border-radius: 4rpx;

          .top-box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15rpx 0;
            border-bottom: 1rpx solid rgba(210, 210, 210, 1);

            &>view {
              font-size: 30rpx;

              &:nth-of-type(2) {
                color: #131F89;
              }
            }
          }

          .content {
            padding: 15rpx 0;

            .item {
              display: flex;
              justify-content: space-between;
              align-items: flex-start;

              &>view {
                font-size: 28rpx;
                margin-bottom: 5rpx;

                &:first-of-type {
                  width: 130rpx;
                  color: #666666;
                }

                &:nth-of-type(2) {
                  flex: 1;
                  color: #333333;
                }

                &:nth-of-type(3) {
                  width: 180rpx;
                  text-align: right;
                  color: rgba(51, 51, 51, 1);
                }
              }
            }

            .contain {
              display: flex;
              justify-content: space-between;
              margin-top: 10rpx;

              view {
                display: flex;
                font-size: 28rpx;

                &>view {
                  &:first-of-type {
                    width: 130rpx;
                    color: #666666;
                  }

                  &:nth-of-type(2) {
                    color: #333333;
                    flex: 1;
                  }
                }
              }
            }
          }

          .btn-box {
            display: flex;
            justify-content: flex-end;
            border-top: 1px solid rgba(210, 210, 210, 1);
            padding-top: 20rpx;
            padding-bottom: 5rpx;
            margin-top: 15rpx;

            .line-btn {
              margin-left: 20rpx;
              padding: 10rpx 10rpx;
            }
          }
        }
      }

      &:first-of-type {
        .item-box {
          padding-top: 20rpx;
        }
      }
    }
  }

  .no-data {
    height: calc(100vh - 120rpx);
    padding-top: 20vh;
  }
}